package edu.lit.cn.service.serviceImpl;

import edu.lit.cn.mapper.TemperatureMapper;
import edu.lit.cn.service.TemperatureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;

@Service
public class TemperatureServiceImpl implements TemperatureService {
    @Autowired
    TemperatureMapper temperatureMapper;
    public ArrayList<HashMap<String, Object>> getAll(){
        return temperatureMapper.getAll();
    }
}
